home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / X11R4 / cmds / X / ddx / sprite.X11R3 / hdr / pr_dblbuf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-03  |  747 b   |  34 lines

  1. /*    @(#)pr_dblbuf.h 1.4 88/02/08 SMI    */
  2.  
  3. /*
  4.  * Copyright 1986 by Sun Microsystems, Inc.
  5.  */
  6.  
  7. #ifndef pr_dblbuf_DEFINED
  8. #define pr_dblbuf_DEFINED
  9.  
  10. /* Attributes
  11.    Unless otherwise indicated, attributes can be used for gets and sets.
  12. */
  13.  
  14.  
  15. #define PR_DBL_AVAIL    1    /* AVAIL is get only. */
  16. #define PR_DBL_DISPLAY    2
  17. #define PR_DBL_WRITE    3
  18. #define PR_DBL_READ    4
  19. #define PR_DBL_DISPLAY_DONTBLOCK    5
  20.     /* Similar to PR_DBL_DISPLAY, but DONTBLOCK is for set only. */
  21.  
  22.  
  23. /* Attribute values:
  24. */
  25.  
  26. #define PR_DBL_EXISTS    1    /* Value for AVAIL only */
  27. #define PR_DBL_A    2
  28. #define PR_DBL_B    3
  29. #define PR_DBL_BOTH    4    /* for PR_DBL_WRITE only. */
  30. #define PR_DBL_NONE    5
  31.     /* can only be returned by pr_dbl_get with PR_DBL_WRITE attribute. */
  32.  
  33. #endif pr_dblbuf_DEFINED
  34.